//
//  SQLiteDB.h
//  fit_mbcreater
//
//  Created by Feng Huajun on 07-9-19.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

@interface SQLiteDB : NSObject {
	
	sqlite3* db;
	NSMutableDictionary* queryCache;
	int queryCacheRowNum;
	
}

-(SQLiteDB *) initWithPath: (NSString*)path;
-(void) enableQueryCache;
-(NSArray*) query: (NSString *)sql;
-(NSArray*) queryGBK: (NSString *)sql;
-(void) execute: (NSString *)sql;
@end
